package top.infopub.mgr.bpa.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import top.infopub.generic.GenericService;
import top.infopub.mgr.bpa.domain.SubpackCotDetailAndSubDomain;
import top.infopub.model.bpa.SubpackCotDetail;

public interface SubpackCotDetailService extends GenericService<SubpackCotDetail, String> {
 
    /**
     *  根据分包合同ID查询所有分包合同清单分解子项信息
     */
    List<SubpackCotDetailAndSubDomain> selectBySubpackCotId(String subpackCotId);
    
    /**
     * 查询项目【分包合同】 子项对应{对内下浮率}，不存在则返回null
     * @param where proCode subName
     * @return 
     * @see
     */
    BigDecimal selectRateFromSubpackCot(Map<String, Object> where);
    
}